//
//  UIView+SBConfiguration.m
//  iOS.HaiWan
//
//  Created by DaiYu on 16/3/28.
//  Copyright © 2016年 DaiYu. All rights reserved.
//

#import "UIView+SBConfiguration.h"

@implementation UIView (SBConfiguration)

@dynamic borderColor,borderWidth,cornerRadius;

-(void)setBorderColor:(UIColor *)borderColor
{
    [self.layer setBorderColor:borderColor.CGColor];
}

-(void)setBorderWidth:(CGFloat)borderWidth
{
    [self.layer setBorderWidth:borderWidth];
}

-(void)setCornerRadius:(CGFloat)cornerRadius
{
    [self.layer setCornerRadius:cornerRadius];
}

@end
